<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/page/base.jsp"%>
<%@ taglib prefix="d" uri="/doone-comm-ui-tags"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>"></base>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title></title>
<!-- Libraries -->
<link type="text/css" href="<%=path%>/manage/css/layout.css"
	rel="stylesheet" />
<link type="text/css" href="<%=path%>/manage/css/new_style.css"
	rel="stylesheet" />
<link type="text/css"
	href="<%=path%>/manage/page/user/css/users_style.css" rel="stylesheet" />

<script type="text/javascript"
	src="<%=path%>/manage/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="<%=path%>/manage/js/easyTooltip.js"></script>
<script type="text/javascript"
	src="<%=path%>/manage/js/jquery-ui-1.8.11.custom.min.js"></script>
<script type="text/javascript"
	src="<%=path%>/manage/js/jquery.wysiwyg.js"></script>
<script type="text/javascript" src="<%=path%>/manage/js/hoverIntent.js"></script>
<script type="text/javascript" src="<%=path%>/manage/js/superfish.js"></script>
<script type="text/javascript" src="<%=path%>/manage/js/custom.js"></script>
<script type="text/javascript"
	src="<%=path%>/manage/js/My97DatePicker/WdatePicker.js"></script>
</head>
<body>

	<div>
		<p class="sitemap">当前位置：用户信息管理 > 用户管理 > 用户详情</p>
		<h1>用户详情</h1>
		<div>
			<!-- Tabs -->
			<div id="tabs">
				<ul>
					<li><a href="#tabs-1">个人资料</a></li>
					<%--						<li>--%>
					<%--							<a href="javascipt:void(0)" onclick="return false">登录历史</a>--%>
					<%--						</li>--%>
					<%--						<li>--%>
					<%--							<a href="javascipt:;" onclick="return false">我的评论</a>--%>
					<%--						</li>--%>
					<%--						<li>--%>
					<%--							<a href="javascipt:;" onclick="return false"> 参加活动</a>--%>
					<%--						</li>--%>
					<%--						<li>--%>
					<%--							<a href="javascipt:;" onclick="return false">订单历史</a>--%>
					<%--						</li>--%>
					<%--						<li>--%>
					<%--							<a href="javascipt:;" onclick="return false">积分历史</a>--%>
					<%--						</li>--%>
					<%--						<li>--%>
					<%--							<a href="javascipt:;" onclick="return false">收藏列表</a>--%>
					<%--						</li>--%>
					<%--						<div class="clear"></div>--%>
				</ul>
				<div class="clear"></div>
				<!-- start: User Info -->
				<div class="user_info">
					<table>
						<tr>
							<td rowspan="3" width="80"><img
								src="<s:property value="clientUserDto.avatar"/>" width="80">
							</td>
							<td valign="middle"><span class="user_name"><s:property
										value="clientUserDto.userAilas" /> </span><span
								class="user_state_online"></span> <input type="button"
								class="btn_info_edit"> <%--									<span class="toolbar_right"><a href="javascipt:;"--%>
								<%--										class="icon_xgmm" onclick="return false">修改密码</a>|<a--%>
								<%--										href="javascipt:;" class="icon_push" onclick="return false">PUSH</a>|<a--%>
								<%--										href="javascipt:;" class="icon_jy" onclick="return false">禁用</a>--%>
								<%--									</span>--%> <span class="clear"></span></td>
						</tr>
						<tr>
							<td valign="middle" class="cal_num"><span class="user_level">Lv
									&nbsp;<s:property value="clientUserDto.rankId" />
							</span><span class="act_time">活跃时间:<s:date
										name="clientUserDto.lastActivityDt"
										format="yyyy-MM-dd HH:mm:ss" />
							</span></td>
						</tr>
						<tr>
							<td class="cal_num" valign="middle">关注 <a href="javascipt:;">0</a><span>|</span>粉丝
								<a href="javascipt:;">0</a><span>|</span>主题 <a
								href="javascipt:;"><s:property
										value="clientUserDto.commentCount" /> </a><span>|</span>回复 <a
								href="javascipt:;"><s:property
										value="clientUserDto.replayCount" /> </a><span>|</span>私信 <a
								href="javascipt:;">0</a><span> |</span>报名的活动 <a
								href="javascipt:;"><s:property
										value="clientUserDto.activiJoinCount" /> </a><span>|</span>订单 <a
								href="javascipt:;"><s:property
										value="clientUserDto.ecProductCount" /> </a><span>|</span>预订 <a
								href="javascipt:;"><s:property
										value="clientUserDto.ecOrderCount" /> </a><span>|</span>积分 <a
								href="javascipt:;"><s:property
										value="clientUserDto.rankPoint" /> </a><span>|</span>收藏 <a
								href="javascipt:;"><s:property
										value="clientUserDto.favCount" /> </a>
							</td>
						</tr>
					</table>
					<div class="userCon">
						<ul class="userField">
							<li><span>用户账号:</span> <s:property
									value="clientUserDto.userName" /></li>
							<li><span>注册时间:</span> <s:date name="clientUserDto.createDt"
									format="yyyy-MM-dd HH:mm:ss" /></li>
							<li><span>用户设备:</span> <s:property
									value="clientUserDto.deviceModel" /></li>
							<li><span>新浪微博:</span> <s:if test="s_weibo==null">暂无绑定</s:if>
								<s:else>
									<s:property value="s_weibo" />
								</s:else></li>
							<li><span>腾讯微博:</span> <s:if test="t_weibo==null">暂无绑定</s:if>
								<s:else>
									<s:property value="t_weibo" />
								</s:else></li>
							<li><span>Google:</span>暂无绑定</li>
						</ul>
						<div class="clear"></div>
						<ul class="userField_expand">
							<s:iterator value="fieldList">
								<li><span><s:property value="aliasName" />:</span> <s:property
										value="fieldValue" /></li>
							</s:iterator>
						</ul>
					</div>


				</div>
				<!-- end: User Info -->
				<!-- First tab -->
				<table cellspacing="0" cellpadding="0" border="0" class="fullwidth">
					<thead>
						<tr>
							<td>最新动态</td>
							<td>时间</td>
						</tr>
					</thead>
					<tbody>
						<s:iterator value="udetailList" id="udl">
							<!-- start 此用户 评论+图片  活动/产品/新闻  -->
							<s:if test="actionType=='COMMENTS_ADD'">
								<tr class="odd">
									<td>
										<table class="sub_table">
											<tr>
												<td rowspan="3" valign="top"><img
													src="<s:property value="clientUserDto.avatar"/>" width="54"
													class="portrait"></td>
												<td><span class="name_bold"><s:property
															value="clientUserDto.userAilas" /> </span></td>
											</tr>
											<tr>
												<td><s:property value="comments.content" />
													<div>
														<ul class="user_album">
															<s:iterator value="#udl.resources">
																<li><img
																	src="<%=imgPath%><s:property value="mediaUrl"/>"
																	width="100%" height="100%"></li>
															</s:iterator>
														</ul>
													</div></td>
											</tr>
											<tr>
												<td class="green_bar">发表于:【 <s:property
														value="eventFrom" /> 】 <a href="javascipt:;"><s:property
															value="eventConent" /> </a>
												</td>
											</tr>
										</table>
									</td>
									<td><s:date name="eventTime" format="yyyy-MM-dd HH:mm:ss" />
									</td>
								</tr>
							</s:if>
							<!-- end 此用户 评论+图片  活动/产品/新闻  -->
							<s:elseif test="actionType=='USER_LOGIN'">
								<!-- end 此用户 在圈子里 发表内容-->
								<!-- start 此用户 登录-->
								<tr class="odd">
									<td>
										<table class="sub_table">
											<tr>
												<td rowspan="3" valign="top"><img
													src="<s:property value="clientUserDto.avatar"/>" width="54"
													class="portrait"></td>
												<td><span class="name_bold"><s:property
															value="clientUserDto.userAilas" /> </span></td>
											</tr>
											<tr>
												<td><span class="gray_bar"><s:property
															value="statusMsg" /> </span></td>
											</tr>
											<tr>
												<td class="green_bar"><s:property value="eventConent" />
												</td>
											</tr>
										</table>
									</td>
									<td><s:date name="eventTime" format="yyyy-MM-dd HH:mm:ss" />
									</td>
								</tr>
							</s:elseif>
							<s:elseif test="actionType=='COMMENTS_LIKE'">
								<!-- start 此用户 赞-->
								<tr class="odd">
									<td>
										<table class="sub_table">
											<tr>
												<td rowspan="3" valign="top"><img
													src="<s:property value="clientUserDto.avatar"/>" width="54"
													class="portrait"></td>
												<td><span class="name_bold"><s:property
															value="clientUserDto.userAilas" /> </span></td>
											</tr>
											<tr>
												<td><span class="gray_bar"><s:property
															value="statusMsg" /> </span></td>
											</tr>
											<tr>
												<td class="green_bar">发表于:【 <s:property
														value="eventFrom" /> 】 <a href="javascipt:;"><s:property
															value="eventConent" /> </a>
												</td>
											</tr>
										</table>
									</td>
									<td><s:date name="eventTime" format="yyyy-MM-dd HH:mm:ss" />
									</td>
								</tr>
							</s:elseif>

							<!-- start 此用户 参加了活动-->
							<s:elseif test="actionType=='ACTIVITIES_JOIN'">

								<tr class="odd">
									<td>
										<table class="sub_table">
											<tr>
												<td rowspan="3" valign="top"><img
													src="<s:property value="clientUserDto.avatar"/>" width="54"
													class="portrait"></td>
												<td><span class="name_bold"><s:property
															value="clientUserDto.userAilas" /> </span></td>
											</tr>
											<tr>
												<td><span class="gray_bar"><s:property
															value="statusMsg" /> </span></td>
											</tr>
											<tr>
												<td class="green_bar">发表于:【 <s:property
														value="eventFrom" /> 】 <a href="javascipt:;"><s:property
															value="eventConent" /> </a>
												</td>
											</tr>
										</table>
									</td>
									<td><s:date name="eventTime" format="yyyy-MM-dd HH:mm:ss" />
									</td>
								</tr>
							</s:elseif>
							<s:elseif test="actionType=='REPLY_ADD'">
								<!-- start 其他用户 评论 此用户 在活动/产品/新闻 中发表的内容-->
								<tr class="odd">
									<td>
										<table class="sub_table">
											<tr>
												<td rowspan="3" valign="top"><img
													src="<s:property value="clientUserDto.avatar"/>" width="54"
													class="portrait"></td>
												<td><span class="name_bold"><s:property
															value="clientUserDto.userAilas" /> </span></td>
											</tr>
											<tr>
												<td><span class="gray_bar">回复 <s:property
															value="replayUserName" />:
												</span> <s:property value="statusMsg" /></td>
											</tr>
											<tr>
												<td class="green_bar">发表于:【 <s:property
														value="eventFrom" /> 】 <a href="javascipt:;"><s:property
															value="eventConent" /> </a>
												</td>
											</tr>
										</table>
									</td>
									<td><s:date name="eventTime" format="yyyy-MM-dd HH:mm:ss" />
									</td>
								</tr>
							</s:elseif>
							<!-- end 其他用户 评论 此用户 在活动/产品/新闻 中发表的内容-->
							<!-- end 此用户 参加了活动-->
							<!-- start 此用户 订购了产品 -->
							<s:elseif test="actionType=='EC_FAVORITE'">
								<!-- start -->
								<tr class="odd">
									<td>
										<table class="sub_table">
											<tr>
												<td rowspan="3" valign="top"><img
													src="<s:property value="clientUserDto.avatar"/>" width="54"
													class="portrait"></td>
												<td><span class="name_bold"><s:property
															value="clientUserDto.userAilas" /> </span></td>
											</tr>
											<tr>
												<td><span class="gray_bar"><s:property
															value="statusMsg" /> </span></td>
											</tr>
											<tr>
												<td class="green_bar">发表于:【 <s:property
														value="eventFrom" /> 】 <a href="javascipt:;"><s:property
															value="eventConent" /> </a>
												</td>
											</tr>
										</table>
									</td>
									<td><s:date name="eventTime" format="yyyy-MM-dd HH:mm:ss" />
									</td>
								</tr>
							</s:elseif>
							<s:elseif test="actionType=='EC_ORDER_ADD'">
								<!-- start -->
								<tr class="odd">
									<td>
										<table class="sub_table">
											<tr>
												<td rowspan="3" valign="top"><img
													src="<s:property value="clientUserDto.avatar"/>" width="54"
													class="portrait"></td>
												<td><span class="name_bold"><s:property
															value="clientUserDto.userAilas" /> </span></td>
											</tr>
											<tr>
												<td><span class="gray_bar"><s:property
															value="statusMsg" /> </span></td>
											</tr>
											<tr>
												<td class="green_bar">预订了: <a href="javascipt:;"><s:property
															value="eventConent" /> </a>
												</td>
											</tr>
										</table>
									</td>
									<td><s:date name="eventTime" format="yyyy-MM-dd HH:mm:ss" />
									</td>
								</tr>
							</s:elseif>
							<!-- end 此用户 订购了产品-->
							<!-- start 此用户 收藏了主题-->
							<s:elseif test="actionType=='ACTIVITIES_FAV'">
								<tr class="odd">
									<td>
										<table class="sub_table">
											<tr>
												<td rowspan="3" valign="top"><img
													src="<s:property value="clientUserDto.avatar"/>" width="54"
													class="portrait"></td>
												<td><span class="name_bold"><s:property
															value="clientUserDto.userAilas" /> </span></td>
											</tr>
											<tr>
												<td><span class="gray_bar"><s:property
															value="statusMsg" /> </span></td>
											</tr>
											<tr>
												<td class="green_bar">发表于:【 <s:property
														value="eventFrom" /> 】 <a href="javascipt:;"><s:property
															value="eventConent" /> </a>
												</td>
											</tr>
										</table>
									</td>
									<td><s:date name="eventTime" format="yyyy-MM-dd HH:mm:ss" />
									</td>
								</tr>
							</s:elseif>
							<!-- end 此用户 收藏了主题-->
						</s:iterator>
					</tbody>
				</table>
				<!-- End of Tabs -->
			</div>
			<!-- 分页标签开始 -->
			<div align="right" style="float: right;">
				<d:page id="pageDetail" template="details" skin="gray"></d:page>

			</div>
			<!-- 分页标签结束 -->
			<hr />
		</div>
	</div>

</body>
</html>
